/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-03-05
 * Time: 16:31
 */
/*abstract class Shape {
    public String name;
    public int age;
    public abstract void draw();
}

abstract class A extends Shape {
    public abstract void A();
}

class K extends A {
    @Override
    public void draw() {
        System.out.println(1);
    }

    public void A() {
        System.out.println(2);
    }
}

class Rect extends Shape {
    @Override
    public void draw() {
        System.out.println("画一个矩形");
    }
}*/

/*public class Demo {
    public static void drawMap(Shape shape) {
        shape.draw();
    }

    //Shape shape = new Shape();

    public static void main(String[] args) {
        drawMap(new Rect());
    }

}*/
